Creating a browser profile

Create a browser profile by modifying an existing profile. For example, to create a profile for Netscape Navigator 5.0, you can open the profile for Navigator 4.0, add any new tags or attributes introduced in version 5.0, and save the profile as a profile for Netscape Navigator 5.0.

To create a browser profile:

1 Using a text editor, open the profile that most closely resembles the profile you intend to create, or open the profile that you want to change.
2 Change the name of the profile.
The name of the profile appears on the first line. Two profiles cannot have the same name.
3 Add any new tags or attributes you know to be supported by the browser according to the syntax shown in About browser-profile formatting.
If you don't want to receive error messages about a certain unsupported tag, add it to the list of supported tags. If you include unsupported tags in the list of supported tags, save the profile in a separate file with a new name (such as Browsername x.x limited). Renaming the profile preserves the original profile with only the tags that are truly supported.
4 Delete any tags or attributes that are not supported by the browser.
This step is probably unnecessary if you are creating a profile for the next version of Netscape Navigator or Microsoft Internet Explorer, because browsers rarely drop support for tags.
5 Add any custom error messages according to the syntax shown in About browser-profile formatting.
The profiles that come with Dreamweaver list all supported tags; they may also include commented-out lines with some commonly used but unsupported tags. To add a custom error message, remove the two hyphens at the beginning of the line and add either !msg "message" or !htmlmsg "<tag>message</tag>" after the !Error. For example, this notation could appear in the Netscape Navigator 3.0 profile:
<!ELEMENT HR name="Horizontal Rule" ><!ATTLIST HR
--  COLOR    !Error
>
To add a custom error message, remove the hyphens and add your message, preceded by !msg:
<!ELEMENT HR name="Horizontal Rule" ><!ATTLIST HR
COLOR    !Error !msg "Internet Explorer 3.0 supports COLOR in horizontal rules, but Netscape Navigator 3.0 does not."
>
6 You can use !Error for all error situations, or you can use !Warning to indicate that a tag will be ignored but will not actually cause an error.